//城市列表显示
	var citys = function(defaultpid) {
			// 默认的
		// var country = $('.Countrylist li').eq(0).attr('data-id')
		// var city = $('.Citylist li').eq(0).attr('data-id')
		// var cityname = $('.Citylist li').eq(0).html()
		// show_map(country, city, cityname)
		// 
		$.ajax({
			url: URL + 'area/ajax_list_children/' + defaultpid,
			type: 'GET',
			dataType: 'json',
			success: function(data) {
				var data = data.content;
				$('.Citylist ul').html('')
				$('.Citylist ul').append('<li data-id="0" li-value="0">' + all + '</li>')
				for (var i = 0; i < data.data.length; i++) {
					//$('.Country .select_option').append('<li class="" style="cursor: pointer;">'+data.data[i].short_name+'</li>')
					$('.Citylist ul').append('<li data-id="' + data.data[i].id + '" data-value="' + data.data[i].short_name + '">' + data.data[i].short_name + '</li>')
				}
				// var Cityselect = $('.Cityselect'); //国家
				// createSelect(Cityselect);
				$('.Citylist ul').find('li').eq(0).addClass('selected')
				$('.Cityselect_box').html($('.Citylist ul').find('li').eq(0).html());
				$('.Cityselect_box').attr('data-id', $('.Citylist ul').find('li').eq(0).attr('data-id'))
				
			}
		})
	}

// 切换城市地图
	$(document).on('click', '.Citylist li', function(event) {
		$('.Cityselect_box').html($(this).html())
		var defaultcid = $(this).attr('data-id')
		$(this).addClass('selected').siblings().removeClass('selected');
		$('.Cityselect_box').attr('data-id', defaultcid)
		var country = $('.Countryselect_box').attr('data-id')
		var city = $(this).attr('data-id')
		var cityname = $(this).html()
		panToCity(cityname)
		
	});
